package com.ztranscript.service;

import com.spring.Autowired;
import com.spring.Component;

/**
 * @author ztranscript 2021/9/18 10:21
 **/
@Component("hello")
public class UserService {
    @Autowired("world")
    private OrderService orderService;

    public void test() {
        System.out.println("hello world");
        orderService.order();
    }

}
